<template>
    <div style="height: 100%;position: relative">
        <div class="search-hidden"></div>
        <div style="height: 100%">
            <iframe id="iframe1" width="100%" height="100%"
                    :src="11"></iframe>
        </div>
    </div>
</template>

<script>
import orginJSONP from 'jsonp'

export default {
  computed: {
    src () {
      return this.$store.state.other.openIfreamUrl
    }
  },
  mounted () {
    orginJSONP('https://www.baidu.com', {}, (err, data) => {
      console.log(err, data)
    })
  }
}
</script>

<style scoped>
    .search-hidden {
        position: absolute;
        top: 1px;
        width: 100%;
        height: 50px;
        background-color: #f3f3f3;
    }
</style>
